package edu.whu.powersoap;

import android.app.Application;

import com.baidu.mapapi.SDKInitializer;

public class GlobalApplication extends Application {

	private UserInfo mUser = null;		//current login user

	@Override
	public void onCreate() {
		// 在使用 SDK 各组间之前初始化 context 信息，传入 ApplicationContext
		SDKInitializer.initialize(this);

		super.onCreate();
	}

	public UserInfo getLoginUser() {
		return mUser;
	}

	public void setLoginUser(UserInfo user) {
		mUser = user;
	}
}
